home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.0 KB | 38 lines | [TEXT/GEOL] |
- Item 1758879 22-Feb-91 12:08PST
-
- From: D3415 Int'l Biotech, Sue Olson,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- ------------------------------------------------------------------------------
-
- Sub: CFront/CopyBits Error Problem
-
- Hi -
-
- I'm new to MacApp/C++ and I was trying to implement a CopyBits() call in a
- Draw() method but keep getting an error from CFront during compilation. I've
- stripped the routine down to its bare bones:
-
- #include <QuickDraw.h>
-
- pascal void DrawMap(BitMap *srcMap, BitMap *dstMap, Rect *srcRect, Rect
- *dstRect);
-
- pascal void DrawMap(BitMap *srcMap, BitMap *dstMap, Rect *srcRect, Rect
- *dstRect)
- {
- CopyBits(srcMap, dstMap, srcRect, dstRect, srcCopy, 0L);
- }
-
- and still get the error:
-
- File "ZippyWorld:sample.cp"; line 7 # internal << CFront Version 1.0 (9/11/90;
- AT&T 2.0) ©Apple Computer, Inc. 1989-90 >> error: check( 4848912, 0, 136)
-
- I'm running MPW3.1. Does anyone know what I'm doing wrong here? Thanks in
- advance for your help.
-
- Bill K.
-
-